<!DOCTYPE HTML>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<!-- 下级财务页面 -->
<body class="gray-bg">
     <div class="container-div">
		<div class="row">
			<div class="col-sm-12 search-collapse">
				<form id="formId">
					<div class="select-list">
						<ul>
							<!-- <li>
								用户编号：<input type="text" name="userNo"/>
							</li> -->
							 <li>
								用户名称：<input type="text" name="userName"/>
							</li>
							<li>
								类型：
								<select name="userType" th:with="type=${@dict.getType('agent_under_type')}">
									<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>	
								</select>
							</li>
							<li>
								<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
								<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
							</li>
						</ul>
					</div>
				</form>
			</div>
			<div class="col-sm-12 select-table table-striped">
				<table id="bootstrap-table" data-mobile-responsive="true"></table>
			</div>
		</div>
	</div>
    <div th:include="include :: footer"></div>
    <script th:inline="javascript">
        var prefix = ctx + "system/hatchetMoneyChangeForDLS";
        $(function() {
            var options = {
                url: prefix + "/selectUnderMoneyForDLS",
                modalName: "下级收益",
				search: false,
		        showExport: false,
                columns: [{
		            checkbox: true
		        },
		     /*    {
					field : 'userNo', 
					title : '用户编号',
					sortable: false
				}, */
				
				{
					field : 'userName', 
					title : '名称',
					sortable: false
				},
				{
					field : 'userType', 
					title : '类型',
					sortable: false
				},
				/* {
					field : 'userNo', 
					title : '编号',
					sortable: false
				}, */
				{
					field : 'yesterdayMoney', 
					title : '昨日收益(元)',
					sortable: false
				},
				{
					field : 'sumMoney', 
					title : '总收益(元)',
					sortable: false
				},
				{
					field : 'totalMoney', 
					title : '账户余额(元)',
					sortable: false
				}
				//---------------重庆城市商务中心活动-----------
				,
				
				{
					field : 'yesDayExcludeSjMoney', 
					title : '昨日收益（不含升级）',
					sortable: false
				},
				{
					field : 'toDayExcludeSjMoney', 
					title : '今日收益（不含升级）',
					sortable: false
				},
				{
					field : 'yesDayDirectMerCount', 
					title : '昨天直推绑卡数',
					sortable: false
				},
				{
					field : 'toDayDirectMerCount', 
					title : '今天直推绑卡数',
					sortable: false
				},
				{
					field : 'yesDayAllMerCount', 
					title : '昨天全部绑卡数',
					sortable: false
				},
				{
					field : 'toDayAllMerCount', 
					title : '今天全部绑卡数',
					sortable: false
				}
				]
            };
            $.table.init(options);
        });
    </script>
</body>
</html>